#!/usr/bin/ruby
require "rubygems"
require "runt"

mondays = Runt::DIWeek.new(Runt::Monday)
wednesdays = Runt::DIWeek.new(Runt::Wednesday)
fridays = Runt::DIWeek.new(Runt::Friday)

date = Date.new(2015, 12, 25)
puts fridays.include?(date)
puts mondays.include?(date)
puts wednesdays.include?(date)

nine_to_twelve = Runt::REDay.new(9, 0, 12, 0)
puts class_times = (mondays | wednesdays | fridays) & nine_to_twelve